package com.sponge.bean.entity;

public class CreditEntity {

    private Long entityIndex;
    private Long entityId;
    private Integer entityCategory;//0 central_government  1 agency 2 creditUser
    private String entityIdentityNumber;
    private String entityName;
    private String password;
    private Integer secondaryCategory;
    private Integer thirdCategory;
    private Integer entityStatus;
    private Integer creditValue;
    private Long addTime;
    private Long updateTime;

    public CreditEntity() {
    }

    public CreditEntity(Long entityIndex, Long entityId, Integer entityCategory, String entityIdentityNumber, String entityName, String password, Integer secondaryCategory, Integer thirdCategory, Integer entityStatus, Integer creditValue, Long addTime, Long updateTime) {
        this.entityIndex = entityIndex;
        this.entityId = entityId;
        this.entityCategory = entityCategory;
        this.entityIdentityNumber = entityIdentityNumber;
        this.entityName = entityName;
        this.password = password;
        this.secondaryCategory = secondaryCategory;
        this.thirdCategory = thirdCategory;
        this.entityStatus = entityStatus;
        this.creditValue = creditValue;
        this.addTime = addTime;
        this.updateTime = updateTime;
    }

    public Long getEntityIndex() {
        return entityIndex;
    }

    public void setEntityIndex(Long entityIndex) {
        this.entityIndex = entityIndex;
    }

    public Long getEntityId() {
        return entityId;
    }

    public void setEntityId(Long entityId) {
        this.entityId = entityId;
    }

    public Integer getEntityCategory() {
        return entityCategory;
    }

    public void setEntityCategory(Integer entityCategory) {
        this.entityCategory = entityCategory;
    }

    public String getEntityIdentityNumber() {
        return entityIdentityNumber;
    }

    public void setEntityIdentityNumber(String entityIdentityNumber) {
        this.entityIdentityNumber = entityIdentityNumber;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getSecondaryCategory() {
        return secondaryCategory;
    }

    public void setSecondaryCategory(Integer secondaryCategory) {
        this.secondaryCategory = secondaryCategory;
    }

    public Integer getThirdCategory() {
        return thirdCategory;
    }

    public void setThirdCategory(Integer thirdCategory) {
        this.thirdCategory = thirdCategory;
    }

    public Integer getEntityStatus() {
        return entityStatus;
    }

    public void setEntityStatus(Integer entityStatus) {
        this.entityStatus = entityStatus;
    }

    public Integer getCreditValue() {
        return creditValue;
    }

    public void setCreditValue(Integer creditValue) {
        this.creditValue = creditValue;
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "CreditEntity{" +
                "entityIndex=" + entityIndex +
                ", entityId=" + entityId +
                ", entityCategory=" + entityCategory +
                ", entityIdentityNumber='" + entityIdentityNumber + '\'' +
                ", entityName='" + entityName + '\'' +
                ", password='" + password + '\'' +
                ", secondaryCategory=" + secondaryCategory +
                ", thirdCategory=" + thirdCategory +
                ", entityStatus=" + entityStatus +
                ", creditValue=" + creditValue +
                ", addTime=" + addTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
